home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SCI Games E3 2005 Press Kit (USA)
/
SCI Games E3 2005 Press Kit (USA).bin
/
runme_mac.swf
/
scripts
/
__Packages
/
mx
/
controls
/
streamingmedia
/
LoudButton.as
< prev
next >
Wrap
Text File
|
2005-05-05
|
701b
|
22 lines
class mx.controls.streamingmedia.LoudButton extends MovieClip
{
function LoudButton()
{
super();
this.init();
}
function init()
{
this.attachMovie("SimpleButton","loudSimpleButton",1,{falseUpSkin:"Loud-False-Up",falseOverSkin:"Loud-False-Over",falseDownSkin:"Loud-False-Down",falseDisabledSkin:"Loud-False-Disabled"});
this.loudSimpleButton.addEventListener("click",this);
this.loudSimpleButton.enabled = this._parent._parent.enabled;
this.tabEnabled = false;
this.tabChildren = true;
}
function click(ev)
{
this._parent._parent.broadcastEvent("volume",100);
this._parent.getHandle().setLoud();
}
}